using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Park.Net.Model
{
    public class Owner
    {
        public int ID { get; set; }
        [Required]
        [StringLength(50)]
        public string? Name { get; set; }
        [StringLength(10)]
        public string? Gender { get; set; }
        [StringLength(20)]
        public string? IDCard { get; set; }
        [Required]
        [StringLength(20)]
        public string? Phone { get; set; }
        [Required]
        [StringLength(50)]
        public string? Password { get; set; }
        [StringLength(20)]
        public string? CarNumber { get; set; }
        [StringLength(100)]
        public string? Address { get; set; }
        [StringLength(20)]
        public string? RoomNumber { get; set; }
    }
}